//
//  MapScreen.h
//  TowerDefence
//
//  Created by K3 on 5/25/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "GameLayer.h"
#import "Define.h"
#import "cocos2d.h"
#import "MapDefine.h"

@interface MapScreen : GameLayer {
    CCMenu *backPreviousMenu;
    CCMenu *speakerMenu;
    
    CCAnimation *flagAniamtion;
    CCAnimation *lightAniamtion;
    
    CCSprite *fullMapSprite;
    CCSprite *lightning;
    
    CCSprite *constructTowerStickNote;
    
    CCSprite *redFlag;
    CCSprite *redCircle1;
    CCSprite *redFlag2;
    CCSprite *redCircle2;
    CCSprite *redFlag3;
    CCSprite *redCircle3;
    CCSprite *redFlag4;
    CCSprite *redCircle4;
    
    CCMenu *map1Menu;
    CCMenu *map2Menu;
    CCMenu *map3Menu;
    CCMenu *map4Menu;
    
    CCParticleRain *rainParticle;
    
    UIPanGestureRecognizer *recognizerTap;
}

-(id)initWith:(iCoreGUIController *)_mainGUIController;
-(void)loadResource;
-(void)drawFlagOnMap;
-(void)drawParticalOnMap;
-(void)muteAllSound:(id)sender;
-(void)backToPreviousScreen;
-(void)muteAllSound:(id)sender;

- (float)randomFloatBetween:(float)smallNumber and:(float)bigNumber;

-(void)gotoMap:(id)sender;

@end
